package com.good.daoImp;

import org.springframework.stereotype.Repository;

import com.good.dao.AdminDao;
import com.good.entity.Admin;
@Repository("adminDaoImpl")
public class AdminDaoImpl extends BaseDaoImpl<Admin, Long> implements AdminDao {

	@Override
	public Admin callProcedure() {		
		return (Admin) this.getSession().createSQLQuery("{call getAdmin()}").list();
	}


}
